package design.p22_mediator;

/**
 * @ClassName: Java
 * @description:
 * @author: zxf
 * @create: 2021-06-20 12:58
 **/
public abstract class User {

    private Mediator mediator;

    public User(Mediator mediator){
        this.mediator = mediator;
    }

    public Mediator getMediator() {
        return mediator;
    }

    public abstract void work();
}

